/*******************************************************************************
 * Copyright (c) 2006 CEA List.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     CEA List - initial API and implementation
 *******************************************************************************/
package com.cea.papyrus.diagram.composite.editpart;

import org.eclipse.draw2d.IFigure;

import com.cea.papyrus.core.editor.ModelManager;
import com.cea.papyrus.core.editpart.GraphEdgeEditPart;
import com.cea.papyrus.core.figures.connection.EdgeFigure;
import com.cea.papyrus.diagraminterchange2.di2.GraphEdge;

/**
 * Edit part represented by a solid link betwen the interface and the port
 */
public class InterfaceGraphEdgeEditPart extends GraphEdgeEditPart {

	/**
	 * Creates a new InterfaceGraphEdgeEditPart.
	 * @param graphEdge the graph edge representing this edit part
	 * @param modelManager the model manager associated to the editor
	 */
	public InterfaceGraphEdgeEditPart(GraphEdge graphEdge, ModelManager modelManager) {
		super(graphEdge, modelManager);
	}
	
	/* (non-Javadoc)
	 * @see com.cea.papyrus.common.editpart.GraphEdgeEditPart#createFigure()
	 */
	@Override
	protected IFigure createFigure() {
		return new EdgeFigure();
	}

	
}
